package com.voyage.generator.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.voyage.generator.model.ColumnInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *@Author: kangb on 2021/10/8 21:26
 *@param:
 *@return:
 *@Description:
 */
@Repository
public interface ColumnInfoRepository extends BaseMapper<ColumnInfo> {

    /**
     * 查询表信息
     * @param tableName 表格名
     * @return 表信息
     */
    List<ColumnInfo> findByTableNameOrderByIdAsc(String tableName);
}
